﻿using System;

namespace ShellUiHelpers
{
  public class TimeSegment
  {
    public TimeSpan StartTime { get; set; }
    public TimeSpan EndTime { get; set; }

    public TimeSegment()
      : this(8, 22)
    {
    }

    public TimeSegment(int startHour, int endHour)
    {
      StartTime = TimeSpan.FromHours(startHour);
      EndTime = TimeSpan.FromHours(endHour);
    }
  }
}
